A callback called whenever a resource is being processed, during a save or load of resource set.
More...
A callback called whenever a resource is being processed, during a save or load of resource set.
This enables to export and load additional data from an application on resources.
Callbacks get called :
-
When loading a resource. Resource is set up with what the component imports by default, the rootNode is the tree used to import the resource, as loaded.
-
When saving a resource. Resource has already populated the rootNode with what the component exports by default.< /li>
External code can then read application specific fields from the tree when loading, or add information to the tree while saving.